package android.test;

import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;
import android.widget.EditText;

public class ShowSMS extends Activity {

    public  static EditText smsFrom;
    public  static EditText smsMessage;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.showsms);
        smsFrom = (EditText)findViewById(R.id.sms_from);
        smsMessage = (EditText)findViewById(R.id.sms_message);
        smsFrom.setText(ReceiverSMSActivity.smsFrom);
        smsMessage.setText(ReceiverSMSActivity.message);
    }


    @Override
    public boolean onCreateOptionsMenu(Menu menu) {
        // Inflate the menu; this adds items to the action bar if it is present.
        getMenuInflater().inflate(R.menu.show_sm, menu);
        return true;
    }
    
}
